/*
编写 : Hexh
时间 : 2012-5-17 10:27:14
*/
using System;
using System.Collections.Generic;
using FsCarInfo.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FsCarInfo.Facade
{
	/// <summary>
	///	 the interface of IFsCarbaseinfoFacade
	/// </summary>
	public interface IFsCarbaseinfoFacade : IDomainFacade
	{

		FsCarbaseinfo Get(string id);

		FsCarbaseinfo GetByQuery(string q_query);

		FsCarbaseinfo Load(string id);

		void SaveOrUpdate(FsCarbaseinfo entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsCarbaseinfo> GetAll();

		IList<FsCarbaseinfo> GetPlist(string query, string state, string departmentid, string group, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
